<h2>Login</h2>
<form action="<?php WEBROOT()?>/user/confirm" method="post">
<?php if(isset($login_error)):?>
	<div class="error">
<?php 
switch ($login_error) {
	case 1: echo 'Unrecognized username or password.'; break;
}
?>
	</div>
<?php endif?>
	<div class="form-item">
		<label for="username">Username</label>
		<input type="text" class="title" name="username" id="username" />
	</div>
	<div class="form-item">
		<label for="password">Password</label>
		<input type="password" class="title" name="password" id="password" />
	</div>
	<div class="form-item">
		<input type="submit" name="op" id="op" value="Login" />
	</div>
</form>

